# # -*- coding: utf-8 -*-
# from flask import Flask, request
# from flask_script import Manager, Shell
# from flask_mail import Mail, Message
# from threading import Thread
# import os
#
# app = Flask(__name__)
# app.config['MAIL_SERVER'] = 'smtp.qq.com'
# app.config['MAIL_PORT'] = 587
# app.config['MAIL_USE_TLS'] = True
# app.config['MAIL_USERNAME'] = '57812xxx@qq.com'
# app.config['MAIL_PASSWORD'] = 'agulvzfyjlbehi'
# mail = Mail(app)
#
# msg = Message('标题', sender='xxxx@qq.com', recipients=['xxxxx@163.com'])
# msg.body = '内容'
# with app.app_context():
#     mail.send(msg)
#
# if __name__ == '__main__':
#     app.run()
